package com.edu.neusoft.student.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.edu.neusoft.student.domain.Orderdetail;
import com.edu.neusoft.student.mapper.OrderdetailMapper;
@Service
public class OrderdetailService{

    @Resource
    private OrderdetailMapper orderdetailMapper;

    
    public int deleteByPrimaryKey(Integer orderdetailid) {
        return orderdetailMapper.deleteByPrimaryKey(orderdetailid);
    }

    
    public int insert(Orderdetail record) {
        return orderdetailMapper.insert(record);
    }

    
    public int insertSelective(Orderdetail record) {
        return orderdetailMapper.insertSelective(record);
    }

    
    public Orderdetail selectByPrimaryKey(Integer orderdetailid) {
        return orderdetailMapper.selectByPrimaryKey(orderdetailid);
    }

    
    public int updateByPrimaryKeySelective(Orderdetail record) {
        return orderdetailMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(Orderdetail record) {
        return orderdetailMapper.updateByPrimaryKey(record);
    }

}
